package cn.gson.springboot.model.service;

import java.math.BigDecimal;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gson.springboot.model.mapper.RechangeMapper;
import cn.gson.springboot.model.mapper.RegistrFromMapper;

@Service
@Transactional(rollbackFor=Exception.class)
public class RechangeService {
	
	  @Autowired
	  private RechangeMapper remapper;
	
      public void addrechange(Integer clinic_id,Integer rechange_type, BigDecimal rechange_money) {
		remapper.addrechange(clinic_id, rechange_type, rechange_money);
	 }

}
